<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/commons/taglibs.jsp" %>
 
 
<s:form id="edit_sysYg_form" name="edit_sysYg_form" method="post" action="employe/update.do" onsubmit="return false;">
	<table class="form-table">
		<tr>
			<th width="150">员工编号：</th>
			<td>
			<s:textfield key="ygbh" title="请输入员工编号" cssClass="form-txtinput" id="ygbh" maxlength="20" value="%{model.ygbh}"/>
			</td>
		</tr>
		<tr>
			<th width="150">姓名：</th>
			<td>
			<s:textfield key="name" title="请输入姓名" cssClass="form-txtinput" id="name" maxlength="20" value="%{model.name}"/>
			</td>
		</tr>
		<tr>
			<th width="150">部门：</th>
			<td>
				<span id="_dept_of_add_wf">${deptname}</span>
				<input type="hidden" name="deptid" value="${deptid}">
				<input name="selectDept" type="button" class='btn-short' title="点击选择部门" onClick="Ext.milan.pagejs.page_sysYg.showSelectDeptWin('edit_sysYg_form')" value="选择">
			</td>
		</tr>
		<tr>
			<th width="150">所在地点：</th>
			<td>
			<mytag:select title="请输入所在地点" name="szfc" sql="deptdata" isSql="false" condition="12" dataType="Long" listKey="deptid" listValue="deptname" headerKey="" headerValue="请选择"/>
			</td>
		</tr>
		<tr>
			<th width="150">职务：</th>
			<td>
			<s:textfield key="zw" title="请输入职务" cssClass="form-txtinput" id="zw" maxlength="20" value="%{model.zw}"/>
			</td>
		</tr>
		<tr>
			<th width="150">工作电话：</th>
			<td>
			<s:textfield key="tel" title="请输入工作电话" cssClass="form-txtinput" id="tel" maxlength="20" value="%{model.tel}"/>
			</td>
		</tr>
		<tr>
			<th width="150">邮箱：</th>
			<td>
			<s:textfield key="email" title="请输入邮箱" cssClass="form-txtinput" id="email" maxlength="20" value="%{model.email}"/>
			</td>
		</tr>
		<tr>
			<th width="150">工作状态：</th>
			<td>
			<mytag:select id="zt" title="请输入工作状态" name="zt" sql="basedata" isSql="false" condition="28" dataType="Long" listKey="id" listValue="name" headerKey="" headerValue="请选择"/>
			</td>
		</tr>
		<tr>
			<th width="150">手机：</th>
			<td>
			<s:textfield key="phone" title="请输入手机" cssClass="form-txtinput" id="phone" maxlength="20" value="%{model.phone}"/>
			</td>
		</tr>
	</table>
	<div class="win-btn-panel">
	    <a class="btn_short" class="btn_short" href="javascript:void(0)" 
			onclick="Ext.milan.pagejs.page_sysYg.edit('edit_sysYg_form')">确 定</a>
		<a class="btn_short" class="btn_short" href="javascript:void(0)" 
			onclick="Ext.milan.pagejs.page_sysYg.closeWin(false);">取 消</a>
	</div>
</s:form>

